package com.ruibang.glass.material.constant;

/**
 * @author 宋锦康
 */
public enum MaterialWareHouseCode {
    YCLK_CK("原材料库", "ycl", "原材料", "原材料库", "0dab43290ede4a8890584d4746ea9b60"),
    BCPK_CK("半成品库", "bcp", "半成品", "半成品库", "e4f65850b4de45c7bcf97b7bef053158"),
    CPK_CK("成品库", "cpk", "成品", "成品库", "f3750d475ccc4c4c99e522f26d4fcff3"),
    BPBJK_CK("备品备件库", "bpbj", "备品备件", "备品备件库", "abcef07d49b94aeeb44b00377aa1f3ff"),
    YBYQK_CK("仪表仪器库", "ybyq", "仪表仪器", "仪器仪表库", "9d7c99f64e504f2c98b920df50c17646"),
    CLK_CK("材料库", "clk", "材料库", "材料库", "28d3714ce5e24b41970811ea3d6b097e"),
    GJK_CK("工具库", "gjk", "工具", "工具库", "b34fa2b9d1d6488797d80d5445b75c71"),
    LBYPK_CK("劳保用品库", "lbyp", "劳保用品", "劳保库", "474114d741a84692a2c22e7de33e8880"),
    HXP_CK("化学品库", "hxp", "化学品", "化学品库", "870071966f434a63b67e5b9f01b76122"),
    NYDL_CK("能源动力", "nydl", "能源动力", "能源动力库", "bf566ee445124834afa8ed431d2484f2"),
    GJS_CK("贵金属", "gjs", "贵金属", "贵金属库", "bf566ee445124834afa8ed431d2484ff"),
    DZSBK_CK("电子设备", "dzsb", "电子设备", "电子设备库", "e4f65850b4de45c7bcf97b7bef053153"),
    ZPK_CK("杂品库", "zpk", "杂品", "杂品库", "bc57d3be1cd44ef4a9dae5e52a8e7911"),
    BGJJ_CK("办公家居库", "bgjj", "办公家居", "办公家居库", "f3750d475ccc4c4c99e522f26d4fcff5"),
    FWK_CK("服务库", "fwk", "服务库", "服务类库", "9d38cf41fe564b9c9a4a942e866f1960"),
    XBC_CK("线边仓", "xbc", "线边仓", "线边仓", "3eb49c3eade644abb7ad9b1648b0a3f2"),
    ;

    private String code;
    private String msg;
    private String type;
    private String name;
    private String wareId;

    MaterialWareHouseCode(String code, String msg, String type, String name, String wareId) {
        this.code = code;
        this.msg = msg;
        this.type = type;
        this.name = name;
        this.wareId = wareId;
    }

    public String getMsg() {
        return msg;
    }

    public String getCode() {
        return code;
    }

    public String getType() {
        return type;
    }

    public String getName() {
        return name;
    }

    public String getWareId() {
        return wareId;
    }

    public static String getValue(String code) {
        for (MaterialWareHouseCode ele : values()) {
            if (ele.getCode() == code) {
                return ele.getMsg();
            }
        }
        return null;
    }
}
